<template>
    <div>
     <el-button @click="commit">注册</el-button>
     <el-button @click="getUser">查询用户列表</el-button>
    </div>
</template>

<script>
/* eslint-disable */

export default{
     name:'index',
     data(){
        return{
        }
     },
     mounted(){
        console.log("初始化")
     },
     methods: {
      commit(){
         this.$router.push("register")
      },
      getUser(){
         this.$router.push("user");
      }
     }

}


</script>